Skip to content

Add same-net trace merge solver#369

Open
tanmayxchoudhary wants to merge 3 commits into
tscircuit:mainfrom
tanmayxchoudhary:niney/same-net-trace-merge
Open

Add same-net trace merge solver#369
tanmayxchoudhary wants to merge 3 commits into
tscircuit:mainfrom
tanmayxchoudhary:niney/same-net-trace-merge

Conversation

@tanmayxchoudhary
Copy link
Copy Markdown

Summary

  • adds a SameNetTraceMergeSolver that merges straight collinear trace segments on the same global net when they touch or have a tiny gap
  • inserts the merge step after trace cleanup so downstream label/overlap solvers see the simplified trace set
  • adds focused tests for same-net merge, different-net non-merge, and threshold non-merge

Fixes #34

Tests

  • bun test

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment May 20, 2026 5:54am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge same-net trace lines that are close together (make at the same Y or same X)

1 participant